package com.example.api.service;

import com.example.api.model.entity.Distribution;
import com.example.api.model.support.RespBean;

import java.util.List;
import java.util.Map;

public interface DistributionService {

    RespBean save(Distribution distribution) throws Exception;

    List<Distribution> findAll();

    Map<String, Object> can();

    RespBean update(Distribution distribution);

    RespBean updateStatus(Distribution distribution);

}
